package datatypes;

import javax.xml.bind.annotation.XmlRootElement;

@XmlRootElement
// JAX-RS supports an automatic mapping from JAXB annotated class to XML and JSON
// Isn't that cool?
public class vhomeObject {
	
	public vhomeObject() {
		
	}
	public vhomeObject(int stid, int dsid, String dsname, String desc, int gran, String sym) {
		this.stid = stid ;
		this.dsid = dsid ; 
		this.dsname = dsname ; 
		this.descriptor = desc; 
		this.granularity = gran ; 
		this.symbol = sym ; 
	}
	public int getstid() {
		return stid;
	}
	public void setstid(int stid) {
		this.stid = stid;
	}
	public int getdsid() {
		return dsid;
	}
	public void setdsid(int dsid) {
		this.dsid = dsid;
	}
	public String getdsname() {
		return dsname;
	}
	public void setdsname(String dsname) {
		this.dsname = dsname;
	}
	public String getDescriptor() {
		return descriptor;
	}
	public void setDescriptor(String descriptor) {
		this.descriptor = descriptor;
	}
	public int getGranularity() {
		return granularity;
	}
	public void setGranularity(int granularity) {
		this.granularity = granularity;
	}
	private int stid;
	private int dsid;
	private String dsname;
	private String descriptor;
	private int granularity ;
	private String  symbol;
	public String getSymbol() {
		return symbol;
	}
	public void setSymbol(String symbol) {
		this.symbol = symbol;
	}

	
}